HEX
Server: Apache
System: Linux clpupre 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: undanet (1000)
PHP: 7.4.3
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/undanet/www/wp-content/plugins/ultimate-member/assets/dynamic_css/dynamic-profile.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! isset( $args['photosize'] ) || 'original' === $args['photosize'] ) {
	$args['photosize'] = um_get_metadefault( 'profile_photosize' ); // Cannot be more than metadefault value.
}

$args['photosize'] = absint( $args['photosize'] );

$photosize_up = ( $args['photosize'] / 2 ) + 10;
$meta_padding = ( $args['photosize'] + 60 ) . 'px';
?>
<style>
	<?php if ( ! empty( $args['area_max_width'] ) ) { ?>
		.um-<?php echo esc_attr( $args['form_id'] ); ?>.um .um-profile-body {
			max-width: <?php echo esc_attr( $args['area_max_width'] ); ?>;
		}
	<?php } ?>
	.um-<?php echo esc_attr( $args['form_id'] ); ?>.um .um-profile-photo a.um-profile-photo-img {
		width: <?php echo esc_attr( $args['photosize'] ); ?>px;
		height: <?php echo esc_attr( $args['photosize'] ); ?>px;
	}
	.um-<?php echo esc_attr( $args['form_id'] ); ?>.um .um-profile-photo a.um-profile-photo-img {
		top: -<?php echo esc_attr( $photosize_up ); ?>px;
	}
	<?php if ( is_rtl() ) { ?>
		.um-<?php echo esc_attr( $args['form_id'] ); ?>.um .um-profile-meta {
			padding-right: <?php echo esc_attr( $meta_padding ); ?>;
		}
	<?php } else { ?>
		.um-<?php echo esc_attr( $args['form_id'] ); ?>.um .um-profile-meta {
			padding-left: <?php echo esc_attr( $meta_padding ); ?>;
		}
	<?php } ?>
</style>